package com.ruoyi.home.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯信息管理对象 home_information
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class HomeInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资讯ID */
    private Long informationId;

    /** 标题 */
    @Excel(name = "标题")
    private String informationTitle;

    /** 资讯发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资讯发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date informationTime;

    /** 内容 */
    @Excel(name = "内容")
    private String informationText;

    /** 未删除：0/已删除：1 */
    @Excel(name = "未删除：0/已删除：1")
    private Integer statusDelete;

    /** 原文链接 */
    @Excel(name = "原文链接")
    private String informationLink;

    /** 图片 */
    @Excel(name = "图片")
    private String infromationImg;

    public void setInformationId(Long informationId) 
    {
        this.informationId = informationId;
    }

    public Long getInformationId() 
    {
        return informationId;
    }
    public void setInformationTitle(String informationTitle) 
    {
        this.informationTitle = informationTitle;
    }

    public String getInformationTitle() 
    {
        return informationTitle;
    }
    public void setInformationTime(Date informationTime) 
    {
        this.informationTime = informationTime;
    }

    public Date getInformationTime() 
    {
        return informationTime;
    }
    public void setInformationText(String informationText) 
    {
        this.informationText = informationText;
    }

    public String getInformationText() 
    {
        return informationText;
    }
    public void setStatusDelete(Integer statusDelete) 
    {
        this.statusDelete = statusDelete;
    }

    public Integer getStatusDelete() 
    {
        return statusDelete;
    }
    public void setInformationLink(String informationLink) 
    {
        this.informationLink = informationLink;
    }

    public String getInformationLink() 
    {
        return informationLink;
    }
    public void setInfromationImg(String infromationImg) 
    {
        this.infromationImg = infromationImg;
    }

    public String getInfromationImg() 
    {
        return infromationImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("informationId", getInformationId())
            .append("informationTitle", getInformationTitle())
            .append("informationTime", getInformationTime())
            .append("informationText", getInformationText())
            .append("createTime", getCreateTime())
            .append("statusDelete", getStatusDelete())
            .append("informationLink", getInformationLink())
            .append("infromationImg", getInfromationImg())
            .toString();
    }
}
